<?php
/**
 * 类的自动加载<p/>
 * @author zhouhaichao(a)2008.sina.com
 * @version 1.0
 * @date: 2015/11/21
 * @time: 15:34
 */

spl_autoload_register(function ($class) {
    if ($class == "ShowPlantRenderer") {
        include_once ROOT . "/application/library/renderer.php";
    }else if($class == "CustomRequest"){
        include_once ROOT . "/application/library/request.php";
    }
});
